<template>
  <div class="app">
    <van-sticky>
      <nav class="nav">
        <h3>全部场景</h3>
        <router-link to="/filtrate" class="fil">
          <p>
            <span>∨</span>
            <span>筛选</span>
          </p>
        </router-link>
      </nav>
    </van-sticky>
    <div class="mycenter_box1">
      <img src="../assets/文件.png" alt />
    </div>
    <h3>你还没有任何作品</h3>
    <p>快去选择一个精美模板创建设计吧</p>
    <router-link to="/found" class="lj">
      <button>立刻创建</button>
    </router-link>

    <Bottom></Bottom>
  </div>
</template>
<script>
import Bottom from "@/components/bottom.vue";
export default {
  name: "Home",
  components: {
    Bottom,
  },
};
</script>

<style>
* {
  margin: 0;
  padding: 0;
}
.nav {
  display: flex;
  justify-content: space-between;
  background: rgb(226, 226, 226);
  width: 100vw;
  height: 6vh;
  line-height: 6vh;
}
.nav > h3 {
  margin-left: 5vw;
}
.nav > .fil {
  margin-right: 5vw;
  font-size: 1rem;
  color: black;
}
.mycenter_box1 {
  width: 15vh;
  height: 15vh;
  margin: 20vh auto 0vh;
}
.mycenter_box1 img {
  width: 100%;
  height: 100%;
}
.app > h3 {
  text-align: center;
}
.app > p {
  margin: 3vh 0px;
  text-align: center;
  color: rgba(0, 0, 0, 0.6);
}

.app .lj {
  width: 25vh;
  height: 6vh;
  display: block;
  margin: 0 auto;
}
.app button {
  background: #0773fc;
  color: #fff;
  border: none;
  width: 25vh;
  height: 6vh;
  border-radius: 4vh;
  /* display: block; */
  /* margin: 0 auto; */
}
</style>